package com.service;

import com.bean.pojo.PageAssistant;
import java.util.List;
import java.util.Map;

/**
 * User: 刘文雄
 * Date:2022/3/28 16:16
 * 基础业务逻辑接口
 */
public interface BaseService<E, V> {

    int save(E t) throws Exception;
    int remove(E t) throws Exception;
    int modify(E t) throws Exception;
    V unique(E t) throws Exception;
    List<V> query(E t) throws Exception;
    PageAssistant<V> queryByPage(Map<String, Object> map, PageAssistant<V> pa);
}
